import request from "@/utils/request";
import { AxiosPromise } from "axios";
import { RegionVo } from "./types";

export function getOpenZone(id: number): AxiosPromise<RegionVo[]> {
  return request({
    url: "/api/system.region/getChildren/id/" + id,
    method: "post",
    data: { is_open: 1 },
  });
}
